<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>领海科技</title>
<style type="text/css">
.but{
border:0;
background:url(images/contact_03.gif) no-repeat;
width:155px;
height:72px;
}
}
</style>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function checkParameter() {
		var reg =/^1[3|4|5|8][0-9]\d{4,8}$/; 
		var dev_time = document.getElementById("development_time");
		var phone = document.getElementById("phone");
		var describe = document.getElementById("describe");
		if(dev_time.value==''){
			alert("开发时间不能为空");
			return;
		} else if(!reg.test(phone.value) || phone.value.length!=11) {
			alert("手机号码格式不正确");
			return;
		} else if(describe.value=='' || describe.value.length<=50) {
			alert("项目描述不能为空或不小于50");
			return;
		}
		document.getElementById("email_form").submit();
	}
</script>

<c:if test="${null!=info}">
	<script type="text/javascript">
		alert('<c:out value="${info}"/>');
	</script>
</c:if>

</head>
<body>
<div class="page">
<div class="header">
	<div class="logo">领海科技</div>
</div>
<div class="menu">
	<ul>
		<li><a href="index.html">公司简介</a></li>
		<li><a href="case.html">成功案例</a></li>
		<li><a href="team.html">团队介绍</a></li>
		<li><a class="current" href="cooperation.jsp">合作细则</a></li>
	</ul>
	<div class="c"></div>
</div>
<div class="content">
	<form action="emailServlet" method="post" id="email_form">
		<table class="tb" width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<th colspan="3">快速需求发送</th>
		  </tr>
		   <tr>
		   	<td>
		  <dt> 项目分类：</dt>
		</td>
		  <td>
		  <select name="title" >
<option  value="1">整体解决方案</option>
<option  value="2">Android开发</option>
<option  value="3">ios开发</option>
<option  value="4">WP8开发</option>
<option  value="5">网站开发</option>
<option  value="6">后台服务开发</option>
<option  value="7">UI设计</option>
<option  value="8">短期外包</option>
</select>
</td>
		   </tr>
			  <tr>
			<td>	   
<dt> 项目预算：</dt>
</td>
	<td><select name="budget" >
<option selected value="500">1万以下</option>
<option  value="1000">1~3万</option>
<option  value="2000">3~5万</option>
<option  value="3000">10~50万</option>
</select>
</td>
</tr>
		  <tr>
			<td><dt> 开发时间：</dt></td>
			

			<td><input class="input2" type="text" name="development_time" id="development_time"/>天</td>
		
		  </tr>
		  <tr>
			<td><dt> 联系电话：</dt></td>
			<td><input name="phone" id="phone" type="text" class="input2" /></td>
			<td>&nbsp;</td>
		  </tr>
		  <td><dt> 项目描述：</dt></td>
		  </tr>
		  <tr>
			<td colspan="2"><textarea class="textarea" name="describe" id="describe" cols="" rows=""></textarea></td>
			<td><input class="but" type="button" onclick="checkParameter()"/></td>
		  </tr>
		</table>
	</form>
</div>
<div class="contact">
	<p>渠道经理 张英杰 电话:13585622883 qq:53163769 邮箱:yingjiesoft@163.com</p>
	<p>售前技术支持 贾经理 电话:18049880825 qq:5268969</p>
</div>

<div class="copyright">
	Copyright © Leadinghigh All Rights Reserved<br />
	上海领海科技有限公司版权所有<br />
	沪ICP备13004152号
</div>
</div>
</body>
</html>